<template>
	<div class="cate">
		<h2>游戏分类</h2>
		<slot a="1" b="2" c="3" :games="games">默认内容</slot>
	</div>
</template>

<script scoped>
	export default {
		name:'Game',
		data(){
			return {
				games:['王者农药','绝地求生','红色警戒','超级玛丽']
			}
		}
	}
</script>

<style>
.cate{
		width: 200px;
		height: 300px;
		background-color: skyblue;
		padding-top: 10px;
	}
	h2{
		background-color: orange;
		text-align: center;
	}
</style>